﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using VirtualHardware;

namespace Display
{
	/// <summary>
	/// Interaction logic for MainWindow.xaml
	/// </summary>
	public partial class MainWindow
	{
		private RAM ram;
		private R09CPU cpu;

		public MainWindow ()
		{
			InitializeComponent();

			Initiate();
		}

		private void Initiate ()
		{
			ram = new RAM(1024);
			cpu = new R09CPU(ram);
			cpu.StartCPU(0);
		}
	}
}
